package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface NursingLevelMapper {

    List<NursingLevelVo> selectAll();

    Page<NursingLevelVo> selectPage(String name, Integer status);

    void insert(NursingLevel nursingLevel);

    NursingLevelVo selectById(Long id);

    void updateStatus(Long id, Integer status);

    void deleteLevel(Long id);

    void update(NursingLevel nursingLevel);

}
